package com.rchat.pocmini.activity.chat;

import com.airtalkee.sdk.entity.AirSession;
import com.rchat.pocmini.common.mvp.BaseModel;
import com.rchat.pocmini.common.mvp.BasePresenter;
import com.rchat.pocmini.common.mvp.BaseView;

/**
 * Created by ljd on 2017/8/31.
 */

public interface ChatContract {

    interface View extends BaseView{
        void showVoiceLevel(int key);
        void setSessionDisplay(AirSession airSession);
    }

    abstract class Presenter extends BasePresenter<ChatContract.View,ChatContract.Model>{

        abstract void talkRequest();
        abstract void talkRelease();
        abstract void sessionCall(String groupId);

        abstract void gotoGroupMemberActivity(String groupName,String groupId);
        abstract void gotoChatMessageActivity(String groupName,String groupId);
        abstract void gotoInviteFriendToGroupActivity(String groupId);
        abstract void gotoLocationActivity(String groupName,String groupId);
    }

    interface Model extends BaseModel{

    }
}
